﻿@{
    Layout = "~/Views/Shared/_TwoColunm.cshtml";
}
@model Bussiness.Entities.TList<Bussiness.Entities.Users>

<table class="table table-condensed" border="1">
    <thead>
        <tr>
            <td>ID</td>
            <td>User Name</td>
            <td>Address</td>
        </tr>
    </thead>
    <tbody>
    @foreach (var user in Model)
    { 
    
        <tr>
            <td>@user.Id</td>
            <td>@user.UserName</td>
            <td>@user.Address</td>
            <td>@user.GroupIdSource.GroupName</td>
            <td><i class="icon-edit"></i>@Html.ActionLink("Edit", "EditUser", "Users", new { id=@user.Id},null)</td>
            <td><i class="icon-remove"></i>@Html.ActionLink("Delete","Delete")</td>
        </tr>
    }
    </tbody>
</table>